package com.ruoyi.att.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 区域对象 bsm_regions
 * 
 * @author ruoyi
 * @date 2022-10-25
 */
public class BsmRegions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域id */
    private Long id;

    /** 父级区域id */
    @Excel(name = "父级区域id")
    private Long parentid;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String code;

    /** 区号 */
    @Excel(name = "区号")
    private String areacode;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 全称 */
    @Excel(name = "全称")
    private String fullname;

    /** 中心坐标 */
    @Excel(name = "中心坐标")
    private String coordinates;

    /** 级数 1 国家 2省 3城市 4县/区 5 街道/镇 */
    @Excel(name = "级数 1 国家 2省 3城市 4县/区 5 街道/镇")
    private Long level;

    /** 省级编码 */
    @Excel(name = "省级编码")
    private String provincecode;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String citycode;

    /** 县区编码 */
    @Excel(name = "县区编码")
    private String districtcode;

    /** 街道编码 */
    @Excel(name = "街道编码")
    private String streetcode;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderindex;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentid(Long parentid) 
    {
        this.parentid = parentid;
    }

    public Long getParentid() 
    {
        return parentid;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setAreacode(String areacode) 
    {
        this.areacode = areacode;
    }

    public String getAreacode() 
    {
        return areacode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFullname(String fullname) 
    {
        this.fullname = fullname;
    }

    public String getFullname() 
    {
        return fullname;
    }
    public void setCoordinates(String coordinates) 
    {
        this.coordinates = coordinates;
    }

    public String getCoordinates() 
    {
        return coordinates;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setProvincecode(String provincecode) 
    {
        this.provincecode = provincecode;
    }

    public String getProvincecode() 
    {
        return provincecode;
    }
    public void setCitycode(String citycode) 
    {
        this.citycode = citycode;
    }

    public String getCitycode() 
    {
        return citycode;
    }
    public void setDistrictcode(String districtcode) 
    {
        this.districtcode = districtcode;
    }

    public String getDistrictcode() 
    {
        return districtcode;
    }
    public void setStreetcode(String streetcode) 
    {
        this.streetcode = streetcode;
    }

    public String getStreetcode() 
    {
        return streetcode;
    }
    public void setOrderindex(Long orderindex) 
    {
        this.orderindex = orderindex;
    }

    public Long getOrderindex() 
    {
        return orderindex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentid", getParentid())
            .append("code", getCode())
            .append("areacode", getAreacode())
            .append("name", getName())
            .append("fullname", getFullname())
            .append("coordinates", getCoordinates())
            .append("level", getLevel())
            .append("provincecode", getProvincecode())
            .append("citycode", getCitycode())
            .append("districtcode", getDistrictcode())
            .append("streetcode", getStreetcode())
            .append("orderindex", getOrderindex())
            .append("remark", getRemark())
            .toString();
    }
}
